package com.sh.caryr.erp.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.sh.caryr.erp.entity.product.ProductSpec;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 商品规格表 服务类
 * </p>
 *
 * @author milkeeper
 * @since 2017-12-25
 */
public interface IProductSpecService extends IService<ProductSpec> {

    public boolean insertProductSpecList(List<ProductSpec> productSpecList);

    public boolean updateProductSpecList(List<ProductSpec> productSpecList);


    public List<ProductSpec> findProductSpecsDynamic(Wrapper<ProductSpec> wrapper);
    public List<ProductSpec> findProductSpecsDynamic(Wrapper<ProductSpec> wrapper, Integer size,
                                                     Integer current, String orderBy);


}
